package factory;

public class EntityBaoma extends Car{
    public EntityBaoma(){
        super.carName = "普通宝马";
    }

    public EntityBaoma(String name){
        super.carName = name;
    }

    @Override
    public String showInfo() {
        return "我是宝马："+super.carName;
    }
}
